package com.haredot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.haredot.entity.Message;
import com.haredot.vo.R;
import com.haredot.vo.UserBlackVo;

/**
* @author Administrator
* @description 针对表【tb_message】的数据库操作Service
* @createDate 2023-09-12 21:52:33
*/
public interface MessageService extends IService<Message> {

    R<Message> queryMessageRecords(Long offset, Long unread, Long toUserId);

    R<?> updateMessage(Long messageId);

    R<?> queryBlackList(Page<UserBlackVo> page);

    R<?> removeBlackUser(Long id);

    R<?> bindBlackUser(Long blackUser);
}
